package com.qidi.ssh.service;

import com.qidi.ssh.bean.BaseDict;
import com.qidi.ssh.dao.BaseDictDao;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author zhouXinBin
 * @create 2020-10-17-13:32
 */
@Transactional
public class BaseDioctServioceimpl implements BaseDictService {
    private BaseDictDao baseDictDao;

    public void setBaseDictDao(BaseDictDao baseDictDao) {
        this.baseDictDao = baseDictDao;
    }

    @Override
    public List<BaseDict> findByTypeCode(String code) {
        return baseDictDao.findByTypeCode(code);
    }
}
